package com.manage.mapper;

import com.manage.pojo.operation.AddressesList;
import com.manage.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressesListMapper extends MyMapper<AddressesList> {

    /**
     * @Description: 根地址id获取地址详细信息
     */
    public AddressesList queryAddressesByAddressId(@Param("addressId") String addressId);

    /**
     * @Description: 根据用户id获取地址列表详细信息
     */
    public List<AddressesList> queryAddressesByUserId(@Param("userId") String userId);
}